﻿using SqlSugar;
using System;

namespace OldDataSync.NewDomains
{
    ///<summary>
    /// 体检值实体表
    ///</summary>
    public class LTHRValues : BaseDomain
    {
        /// <summary>
        /// 体检ID
        /// </summary>
        public int NLID { set; get; }

        /// <summary>
        /// 值
        /// </summary>
        public float? Value { set; get; }

        /// <summary>
        /// 分类
        /// </summary>
        [SugarColumn(Length = 13, ColumnDataType = "nvarchar", IsNullable = true)]
        public string Category { set; get; }

        /// <summary>
        /// 编码
        /// </summary>
        [SugarColumn(Length = 10, IsNullable = true)]
        public string Code { set; get; }

        /// <summary>
        /// 分数
        /// </summary>
        public int Score { set; get; }

        /// <summary>
        /// 分类级别
        /// </summary>
        [SugarColumn(Length = 16, ColumnDataType = "nvarchar", IsNullable = true)]
        public string RiskLevel { set; get; }

        /// <summary>
        /// 父ID
        /// </summary>
        public int ParentID { set; get; }

        /// <summary>
        /// 创建日期
        /// </summary>
        [SugarColumn(IsNullable = true, IsOnlyIgnoreInsert = true, IsOnlyIgnoreUpdate = true, DefaultValue = "GetDate()")]
        public DateTime CreateDate { set; get; }
    }
}